package com.lxlg.lxlg_order.common.OrderException;

public enum OrderExceptionCode {
    SAVE_RECHARGEORDER_EXCEPTION(8001,"生成订单失败"),
    NOTEXSIT_ORDER_ERROR(8002,"不存在该订单"),
    ORDER_CANTCANCLE_EXCEPION(8003,"订单不可以取消"),
    NOTEXSIT_GOODS_ERROR(8004,"商品不存在"),
    GOOD_CANTREFUND_ERROR(8005,"该商品不可以退款"),
    REFUNDORDER_ADD_ERROR(8006,"退款订单添加失败"),
    NOTEXSIT_REFUNDORDER_ERROR(8007,"没有该退款订单"),
    REFUNDORDER_CANTREFUND_ERROR(8008,"该退款单不可退款"),
    SCORE_CANT_WITHDRAWALS(8009,"积分不够不可以提现"),
    NOENOUGH_GOODS_ERROR(8010,"商品数量不够"),
    DAYSTATEMENT_SAVE_ERROR(8011,"保存日报失败"),
    SCORE_NOTENOUGH_ERROR(8012,"积分不够"),
    ORDER_NOGOODS_ERROR(8013,"没有该商品"),
    USER_NOT_HAVESCORE(8014,"用户没有积分")
    ;


    public Integer code;

    public String msg;

    private OrderExceptionCode(Integer code,String msg){
        this.msg=msg;
        this.code=code;
    }
}
